import API from './api.js';

export default {

	host: "", //主机地址\
	/****自动适配测试环境和正式环境****/
	host_url: '',
	OSS_HOST: "", //oss地址

	payHost: "", //支付接口

	debug: 0, // 0:本地环境，1：外网测试环境，2：生产环境

	// API endpoints
	...API,

	setHost: function () {

		if (window.location.host == 'pc.imiyun.com' || window.location.host == 'cdn.imiyun.com') //生成环境
		{
			this.debug = 2;
		} else if (window.location.host == 'pc-test.imiyun.com' || window.location.host == 'cdn-test.imiyun.com') //测试环境
		{
			this.debug = 1;
		}
		// this.debug = 2;
		console.log("window.location.host==========================:", window.location.host);
		console.log("this.debug==========================:", this.debug);
		// https://cdn.imiyun.com/static/pcclient/print/index.html?app=app_imy&cpid=25&odid=&type=xs&pview=1&v=1759975472

		if (this.debug == 0) {
			//本地测试环境
			console.log("测试环境");
			this.host = "https://api-pc-test.imiyun.com/"; //主机地址
			this.PRINT_URL = "https://cdn-test.imiyun.com/static/pcclient/print/index.html?isWeb=1&app=app_imy&cpid=";
			this.PRINT_URL_1 = "https://cdn-test.imiyun.com/static/pcclient/print/index1.html?isWeb=1&app=app_imy&cpid="; //241 A4尺寸模板，打印模块，在cdn-test.imiyun.com，因为图片如果跨域，打印不会打印图片。所以跟图片放在同一个域下。
			this.PRINT_URL_2 = "https://cdn-test.imiyun.com/static/pcclient/print/index2.html?isWeb=1&app=app_imy&cpid="; //80 小票尺寸模板，打印模块，在cdn-test.imiyun.com，因为图片如果跨域，打印不会打印图片。所以跟图片放在同一个域下。
			this.OSS_HOST = 'https://cdn-test.imiyun.com/'; //oss地址	
			this.payHost = "https://pay-test.imiyun.com/"; //支付接口
			this.host_url = 'https://api-pc-test.imiyun.com/';
			this.hostAndroid = 'https://api-test.imiyun.com/';
		} else if (this.debug == 1) {
			//网上测试环境
			this.host = "https://api-pc-test.imiyun.com/"; //主机地址
			this.PRINT_URL = "https://cdn-test.imiyun.com/static/pcclient/print/index.html?isWeb=1&app=app_imy&cpid=";
			this.PRINT_URL_1 = "https://cdn-test.imiyun.com/static/pcclient/print/index1.html?isWeb=1&app=app_imy&cpid="; //241 A4尺寸模板，打印模块，在cdn-test.imiyun.com，因为图片如果跨域，打印不会打印图片。所以跟图片放在同一个域下。
			this.PRINT_URL_2 = "https://cdn-test.imiyun.com/static/pcclient/print/index2.html?isWeb=1&app=app_imy&cpid="; //80 小票尺寸模板，打印模块，在cdn-test.imiyun.com，因为图片如果跨域，打印不会打印图片。所以跟图片放在同一个域下。
			this.OSS_HOST = 'https://cdn-test.imiyun.com/'; //oss地址	
			this.payHost = "https://pay-test.imiyun.com/" //支付接口
			this.host_url = 'https://api-pc-test.imiyun.com/'
		} else {
			//正式环境
			console.log("正式环境");
			this.host = "https://api-pc.imiyun.com/"; //主机地址
			this.PRINT_URL = "https://cdn.imiyun.com/static/pcclient/print/index.html?isWeb=1&app=app_imy&cpid=";
			this.PRINT_URL_1 = "https://cdn.imiyun.com/static/pcclient/print/index1.html?isWeb=1&app=app_imy&cpid="; //241 A4尺寸模板,打印模块，在cdn-test.imiyun.com，因为图片如果跨域，打印不会打印图片。所以跟图片放在同一个域下。
			this.PRINT_URL_2 = "https://cdn.imiyun.com/static/pcclient/print/index2.html?isWeb=1&app=app_imy&cpid="; //80 小票尺寸模板，打印模块，在cdn-test.imiyun.com，因为图片如果跨域，打印不会打印图片。所以跟图片放在同一个域下。
			this.OSS_HOST = 'https://cdn.imiyun.com/'; //oss地址	
			this.payHost = "https://pay.imiyun.com/" //支付接口
			this.host_url = 'https://api-pc.imiyun.com/'
		}

		this.AUTH_MAKECODE = `${this.host_url}auth/makecode`; // 获取验证码
	},

	COMM_ALI_OSS_SIGN: "comm/ali_oss_sign", //阿里云-sts授权+oss上传

	/**************服务预约单据******************/
	YY0_ORDER_ORDER_LS: "yy0/order/order_ls", //服务预约单据-列表

	YY0_ORDER_INFO: "yy0/order/order_info", //服务预约单据-详情（同时抢加锁，退出详情解锁）

	YY0_ORDER_ACT: "yy0/order/order_act", //服务预约单据-操作（常规+解锁）

	YY0_CART_INFO: "yy0/order/cart_info", //服务预约开单购物车-读取

	YY0_ORDER_COPY: "yy0/order/order_copy", //服务预约单据-抄单/退货/草稿单编辑

	YY0_ORDER_PAY: "yy0/order/order_pay", //服务预约单据-操作（收款/退款）

	YY0_ORDER_BILL: "yy0/order/order_bill", //服务预约单据-收款记录

	YY0_ORDER_ALOG_LS: "yy0/order/order_alog_ls", //服务预约单据-操作记录

	YY0_BOOK_FORM_TIMESTR: "yy0/yuyue/book_form_timestr", // 服务预约 - 预约表格时间

	YY0_BOOK_FORM_LS: "yy0/yuyue/book_form_ls", // 服务预约 - 预约表格列表

	YY0_DUTY_CANCEL: "yy0/yuyue/duty_cancel", //服务预约 排班 - 取消排班

	YY0_YUYUE_BOOK_FORM_LS_W: "yy0/yuyue/book_form_ls_w", //预约 - 预约表格列表(按周排列)

	YY0_YUYUE_BOOK_FORM_LS_M: "yy0/yuyue/book_form_ls_m", //预约 - 预约表格列表(按月排列)

	YY0_YUYUE_DUTY_CHANGE_STAFF: "yy0/yuyue/duty_change_staff", //排班 - 更换成员

	YY0_YUYUE_DUTY_DELETE: "yy0/yuyue/duty_delete", //排班 - 移除

	YY0_YUYUE_DUTY_CANCEL_D: "yy0/yuyue/duty_cancel_d", //排班 按日取消

	YY0_YUYUE_DUTY_DELETE_W: "yy0/yuyue/duty_delete_w", //按周移除成员

	YY0_YUYUE_DUTY_CHANGE_STAFF_W: "yy0/yuyue/duty_change_staff_w", //按周更换排班成员


	/**************服务预约单据******************/

	/**********报表********/
	//采购
	REPORT_CG_COUNT: "report/cg_count", //采购报表

	REPORT_CG_SELL_LS: "report/cg_sell_ls", //仓库采购记录

	//仓库
	REPORT_GOODS_STORE: "report/goods_store", //产品库存

	REPORT_STORE_COUNT: "report/store_count", //仓库统计

	REPORT_STORE_VIEW: "report/store_view", //仓库概览

	REPORT_GOODS_STORE_LOG: "report/goods_store_log", //库存流水

	REPORT_STORE_VIEW_LS: "report/store_view_ls", //产品库存概览

	REPORT_STORE_INFO: "report/store_info", //仓库详情

	REPORT_STORE_IN_OUT: "report/store_in_out", //出入库统计

	REPORT_STORE_IN_OUT_GOODS_LS: "report/store_in_out_goods_ls", //出入库流水

	REPORT_BOOK_COUNT: "report/book_count", //预约统计

	REPORT_BOOK_COUNT_LS: "report/book_count_ls", //预约统计详情

	/**********报表********/

	COMM_TXT_SAVE: 'comm/txt_save', //新增备注

	WX_PAY_KEY: "2WR951667DAF5F2F2E6CB07F993AD5W7", //微信网络支付

	DK100_KDNO_SAVE: 'order/dk100_kdno_save', //保存快递信息

	DK100_KDNO_LS: 'order/dk100_kdno_ls', //查询快递公司列表

	DK100_CP_GET: 'order/dk100_cp_get', //查询快递公司列表

	ORDER_RETURN_GD: 'order/order_return_gd', //退货

	COMMON_COUNT: 'common/count', //计算器

	PAY_WX_PARAM: "pay/wx_param", //微信支付接口

	COMM_DISTRICTS: "common/districts", //获取中国行政区

	UPLOAD_IMG_KEY: "comm/ali_sts", //阿里云-sts授权+oss上传

	PRINT_COUNT: "visitor/order_view/print_count", //打印次数累计

	GET_PRINT_SET: "visitor/order_view/print_set", //本地打印尺寸

	COMM_PRINT_DO: "comm/print_do", //云打印*

	PRINTER_YUN_LS: "comm/printer_yun_ls", //云打印机列表

	//https://h5.imiyun.com/print/index1.html?app=app_imy&cpid=27&odid=15.0&type=xs&pview=0&v=1609927844586
	PRINT_URL_1: "https://h5.imiyun.com/print/index1.html?app=app_imy&cpid=", //241 A4尺寸模板

	PRINT_URL_2: "https://h5.imiyun.com/print/index2.html?app=app_imy&cpid=", //80 小票尺寸模板

	PHCODE_GET: "auth/phcode_get", //登录-获取短信验证码	

	LOGIN_DO: "auth/login_do", //登录-执行登录

	LOG_OUT: "auth/logout2", //退出登录


	// MY_LS : "auth/my_ls",//选择我的身份

	SET_NOW: "auth/set_now", //登录-4步-企业选定

	ORDER_LS: "order/order_ls", //销售-单据-列表

	SHOP_LS: "company/shop_ls", //门店列表

	UCP_LS: "company/ucp_ls", //经手人列表（支持全部模块全场景）

	ORDER_INFO: "order/order_info", //销售-单据-详情（同时抢加锁，退出详情解锁）

	ORDER_PAY: "order/order_pay", //单据-操作（收款/退款）

	ORDER_ACT: "order/order_act", //单据-操作（常规+解锁）

	ORDER_ALOG_LS: "order/order_alog_ls", //单据-操作记录

	ORDER_RETURN_LOG: "order/order_return_log", //单据-退货记录

	ORDER_BILL: "order/order_bill", //order/order_bill

	ORDER_RETURN_CK: "order/order_return_ck", //单据-退货申请-审核

	ORDER_COPY: "order/order_copy", //单据-抄单/退货/草稿单编辑

	YUN_SHOP_LS: "compset/yunshop_ls", //云店--【列表获取】

	STORE_LS: "company/store_ls", //仓库列表 - （全场景）

	ORDER_RETURN_INFO: "order/order_return_info", //单据-退货申请-详情/协商历史

	BRAND_LS: "gdpre/brand_ls", //品牌-列表

	BRAND_DEL: "gdpre/brand_del", //品牌-删除

	BRAND_SAVE: "gdpre/brand_save", //品牌-新增/编辑

	GOODS_LIST: "goodsinfo2/goods_list", //获取产品列表

	GH_GOODS_LIST: "goodsinfo2/goods_list", //获取供货列表

	GD_INFO: "goodsinfo2/gd_info", //产品详情-概览

	GOODS_TPL_LIST: "goodstpl/get_tpl_list", //产品模板-列表

	GOODS_TPL_SAVE: "goodstpl/tpl_save", //设置产品货号条码规格等按钮

	DEL_GOODS: "goodsinfo2/del_goods", //删除产品

	ADD_GOODS: "goodsinfo2/add_goods", //新建产品-信息给出

	EDIT_GOODS_INFO: "goodsinfo2/edit_info", //产品信息-编辑;

	GDPRE_SPEC_LS: "gdpre/spec_ls", //规格列表

	GDPRE_SPECF_LS: "gdpre/specf_ls", //规格列表(下级)

	SEPCIDS_SAVE2: "gdpre/sepcids_save2", //修改规格状态

	SPEC_DEL: "gdpre/spec_del", //修改规格状态

	SPEC_SAVE: "gdpre/spec_save", //编辑/新增规格

	GDPRE_UNIT_LS: "gdpre/unit_ls", //单位-列表

	GDPRE_UNIT_SAVE: "gdpre/unit_save", //单位-保存

	GDPRE_UNIT_DEL: "gdpre/unit_del", //单位-删除

	GDPRE_PRICE_LS: "gdpre/price_ls", //价格-列表

	GDPRE_PRICE_SAVE: "gdpre/price_save", //价格-修改

	GDPRE_BRAND_LS: "gdpre/brand_ls", //品牌-列表

	GDPRE_CAT_LS: "gdpre/cat_ls", //产品分类列表

	GDPRE_CAT_SAVE: "gdpre/cat_save", //产品新增/编辑分类

	GDPRE_CAT_DEL: "gdpre/cat_del", //删除分类

	GDPRE_TAG_LS: "gdpre/tag_ls", //产品标签列表

	GDPRE_TAG_SAVE: "gdpre/tag_save", //产品标签修改

	GDPRE_TAGLS_SAVE: "gdpre/tagls_save", //产品标签状态修改

	GDPRE_TAG_DEL: "gdpre/tag_del", //产品标签删除

	PROPRE_ATTR_SAVEONE: "yy0/propre/attr_saveone", //服务详情修改

	PROPRE_ATTR_LS: "yy0/propre/attr_ls", //服务详情列表

	GDPRE_ATTR_LS: "gdpre/attr_ls", //属性-列表

	GDPRE_ATTR_SAVE: "gdpre/attr_save", //属性-修改

	PROPRE_OUTDAY_LS: "yy0/propre/outday_ls", //服务有效期列表

	PROPRE_OUTDAY_SAVE: "yy0/propre/outday_save", //服务有效期修改

	PROPRE_OUTDAY_DEL: "yy0/propre/outday_del", //服务有效期删除

	COMPANY_CP_CONFIG: "company/cp_config", //设置-获取信息

	SAVE_GOODS: "goodsinfo2/save_goods", //添加保存产品

	UPDATE_GOODS: "goodsinfo2/update_goods", //产品-编辑保存

	GOODS_EXPORT_EXAMPLE_ADD: "goodsinfo/goods_export?app=pc&example=1&ck_type=add", //下载产品模板xlsx文件

	GOODS_EXPORT_EXAMPLE_ALL: "goodsinfo/goods_export?app=pc&example=1&ck_type=all", //下载产品模板xlsx文件

	GOODS_EXPORT_TYPE: "goodsinfo/goods_export?app=pc&export_type=2", //导出产品列表

	GOODS_IMPORT_SAVE: "goodsinfo/goods_import_save", //上传产品xlsx文件。

	SEARCH_S_OBJTYPE: "search/s_objtype", //

	SEARCH_S_OBJTYPE_LS: "search/s_objtype_ls", //

	SEARCH_S_GOODS: "search/s_goods", //搜索-产品 关键字

	SEARCH_CK_GOOD: "search/ck_good", //

	SEARCH_S_GOODS_CK: "search/s_goods_ck",

	SEARCH_S_GOODS_YY: "search/s_goods_yy",

	SEARCH_S_GOODS_CG: "search/s_goods_cg",

	SEARCH_S_ORDERS: "search/s_orders",

	LOGIN_GET_SIGN: "auth/login_get_sign", //打开vip窗口，第一步

	LOGIN_PC: 'auth/login_pc.html', //打开vip窗口，第二步

	GOODS_SAVE_LS: 'goodsinfo/goods_save_ls', //APP上下架，商城上下架，修改标签,分类,是否置顶

	GDLS_SAVE: 'goodsinfo/gdls_save', //产品-批量修改

	/****客户API***BEGIN***/
	//客户信息
	CUSTOM_LS: "custom/custom_ls", //客户-【列表获取】

	CUSTOM_P_FRACT: "custom/p_fract", //客户-【云店列表】

	CUSTOM_RRACT_TYPE_LS: "custom/fract_type_ls", //客户-【列表获取】


	SEARCH_S_CUSTOMER: "search/s_customer", //搜索- 客户关键词

	CUSTOM_INFO: "custom/custom_info", //客户-【信息获取】

	CUSTOM_SAVE: "custom/custom_save", //【新增/修改】

	CUSTOM_DEL: "custom/custom_del", //客户-删除

	CUSTOM_ANALY_INFO: "custom/analy_info", //智能分析

	//下载客户模板，导入客户
	CUSTOMER_IMPORT: "static/pc/file/customer_import.xlsx", //下载客户模板路径

	CUSTOMER_IMPORT_SAVE: "custom/customer_import_save", //上传客户


	//其他相关
	CUSTOM_GOODS_LS: "custom/goods_ls", //客户产品销售

	CUSTOM_ORDER_GD: "custom/order_gd", //客户产品销售-产品详细

	CUSTOM_ORDER2_LS: "custom/order2_ls", //客户历史订单-退货单

	CUSTOM_ORDER_LS: "custom/order_ls", //客户历史订单-销售单

	CUSTOM_AMOUNT_LS2: "custom/amount_ls2", //客户累计销售

	CUSTOM_AMOUNT_LS: "custom/amount_ls", //客户累计预约

	CUSTOM_ORDER_RECE_LS: "custom/order_rece_ls", //客户订单应收

	CUSTOM_ORDERINFO: "custom/custom_orderinfo", //客户订单详细+客户信息


	// 供应商
	CG_SUPP_GOODS_LS: "cg/supp/goods_ls", //供应商产品销售

	CG_SUPP_ORDER_LS: "cg/supp/order_ls", //供应商历史订单

	CG_SUPP_BILL_LS: "cg/supp/bill_ls", //供应商收款流水

	CG_SUPP_AMOUNT_LS: "cg/supp/amount_ls", //供应商供货流水

	CG_SUPP_RECE_LS: "cg/supp/rece_ls", //供应商预付款流水

	CG_SUPP_ORDER_RECE_LS: "cg/supp/order_rece_ls", //供应商单据欠款流水

	CG_SUPP_SUPP_DEL: "cg/supp/supp_del", //删除供应商

	CG_SUPP_SUPP_SAVE: "cg/supp/supp_save", //添加/编辑供应商

	CG_SUPP_SUPP_GD_BIND: "cg/supp/supp_gd_bind", //添加供供货产品

	CK_STORE_GOODS_LS: "ck/store/goods_ls", //库存产品列表

	CK_STORE_STORE_CLS: "ck/store/store_cls", //仓库列表

	CK_STORE_STORE_VIEW: "ck/store/store_view", //仓库概览

	CK_STORE_INFO: "ck/store/info", //仓库详情

	CK_STORE_SAVE: "ck/store/save", //编辑库存信息

	CK_STORE_VIEW_LS: "ck/store/store_view_ls", //获取库存下的产品列表


	//客户标签
	CUSTOM_TAG_SAVE: "custom/tag_save", // 客户标签-【修改、新增】

	CUSTOM_TAG_DEL: "custom/tag_del", //客户标签-【删除】

	CUSTOM_TAG_LS: "custom/tag_ls", //客户标签-列表


	//客户类型
	CUSTOM_TYPE_SAVE: "custom/customtype_save", //-客户类型-【修改、新增】

	CUSTOM_TYPE_DEL: "custom/customtype_del", //客户类型-【删除】

	CUSTOM_TYPE_LS: "custom/customtype_ls", //客户类型-列表


	//客户跟进
	CUSTOM_TXT_SAVE: "custom/txt_save", //客户保存跟进-【修改、新增】

	CUSTOM_TXT_LS: "custom/txt_ls", //客户跟进-列表

	CUSTOM_TXT_CAT_SAVE: "custom/txt_cat_save", //客户跟进类型-【修改、新增】

	CUSTOM_TXT_CAT_DEL: "custom/txt_cat_del", //客户跟进类型-【删除】

	CUSTOM_TXT_CAT_LS: "custom/txt_cat_ls", //客户跟进类型-列表


	//收款相关
	CUSTOM_BILL_LS: "custom/bill_ls", // 客户收款流水

	CUSTOM_BILL_INFO: "custom/bill_info", //客户收款详细

	CUSTOM_RECE_SAVE: "custom/rece_save", //客户收预付款

	CUSTOM_RECE_LS: "custom/rece_ls", //客户预付款流水

	CUSTOM_CTOD_SAVE: "custom/ctod_save", //转成老客户

	/****客户API***END***/

	//客户推荐
	YX_DS_SHARE_LS: "yx/ds/share_ls", //客户推荐列表


	/****开单API***BEGIN****/
	ORDER_CHECKOUT: "order/order_checkout", //开单-去结账

	SETTING_SELL: "order/setting_sell", //开单-相关设置读取

	ORDER_ADD: "order/order_add", // 开单-结账提交/新增单据

	GD_SKU_BYINFO: "order/gd_sku_byinfo", //开单-获取产品sku上次交易信息

	GD_PRICE: "order/gd_price", //开单-获取产品价格（含上次报价）

	ORDER_COUNT: "order/order_count", //开单-订单金额结算

	ORDER_SPEC_LS: "order/order_spec_ls", //开单-购买记录

	CART_SAVE: "order/cart_save", //开单购物车-加购/修改价格数量

	CART_INFO: "order/cart_info", //开单购物车-读取

	GOODS_SPEC: "goodsinfo2/goods_spec", //产品-规格单位

	FEE_LS: "compset/fee_ls", //费用-列表
	/****开单API***END****/

	/*******采购开单***BEGIN*****/
	CG_ORDER_SETTING_SELL: "cg/order/setting_sell", //采购开单-相关设置读取

	CG_ORDER_CHECKOUT: "cg/order/order_checkout", //采购开单-去结账

	CG_ORDER_ADD: "cg/order/order_add", //采购开单-结账提交/新增单据

	CG_GD_SKU_BYINFO: "cg/order/gd_sku_byinfo", //采购开单-获取产品sku上次交易信息

	CG_GD_PRICE: "cg/order/gd_price", //采购开单-获取产品价格（含上次报价）

	CG_ORDER_SPEC_LS: "cg/order/order_spec_ls", //采购开单-购买记录

	CG_CART_SAVE: "cg/order/cart_save", //采购开单购物车-加购/修改价格数量

	CG_ORDER_COUNT: "cg/order/order_count", //采购开单-订单金额结算（折扣/抹零计算）

	CG_CART_INFO: "cg/order/cart_info", //采购开单购物车-读取
	/*******采购开单***END*****/

	/*******采购单据***BEGIN*****/
	CG_ORDER_LS: "cg/order/order_ls", //采购单据-列表
	CG_ORDER_COPY: "cg/order/order_copy", //采购单据-抄单/退货/草稿单编辑
	CG_ORDER_PAY: "cg/order/order_pay", //采购单据-操作（收款/退款）
	CG_ORDER_INFO: "cg/order/order_info", //采购单据-详情（同时抢加锁，退出详情解锁）
	CG_ORDER_ACT: "cg/order/order_act", //采购单据-操作（常规+解锁）
	COMPSET_PAY_LS: "compset/pay_ls", //付款方式列表
	CG_SUPP_RECE_SAVE: "cg/supp/rece_save", //提交预付款

	/*******采购单据***END*****/

	/********供应商***BEGIN*******/
	CG_SUPP_LS: "cg/supp/supp_ls", //供应商列表-【获取】
	CG_SUPP_INFO: "cg/supp/supp_info", //供应商详情-【获取】
	CG_SEARCH_S_SUPP: "search/s_supp", //搜索-供应商-关键词

	/********供应商***END*******/


	/****库管*** BEGIN***/
	STORE_GOODS_LS: "ck/store/goods_ls", //采购/库管-产品列表用同一接口

	GOODS_STORE: "ck/store/goods_store", // 产品库存

	GOODS_STORE_LOG: "ck/store/goods_store_log", //库存流水

	GOODS_STORE_LOG_DETAIL: "ck/store/goods_store_log_detail", //库存流水详情

	GOODS_STORE_EDIT: "ck/store/goods_store_edit", //产品库存修改
	/****库管*** END***/


	/*******报表****BEGIN***/
	REPORT_SHOP_COUNT: "report/shop_count", //销售表首页接口

	REPORT_SHOP_SELL_LS: "report/shop_sell_ls", //门店销售记录
	/*******报表****END***/

	/*******服务****BEGIN***/

	// CUSTOM_TXT_LS: "/custom/txt_ls", // 跟进记录



	GDTPL_TPL_SAVE: "yy0/gdtpl/tpl_save", //设置服务货号条码规格等按钮

	GDTPL_TPL_INFO: "yy0/gdtpl/tpl_info", //设置服务配置详情

	PROPRE_UNIT_LS: "yy0/propre/unit_ls?", //服务的单位列表

	PROPRE_UNIT_SAVE: "yy0/propre/unit_save", //设置服务的单位

	PROPRE_UNIT_DEL: "yy0/propre/unit_del", //设置服务的单位删除

	PROPRE_PRICE_LS: "yy0/propre/price_ls?", //服务的价格列表

	PROPRE_PRICE_SAVE: "yy0/propre/price_save", //设置服务的价格

	PROPRE_COST_LS: "yy0/propre/cost_ls?", //服务的成本列表

	PROPRE_COST_SAVE: "yy0/propre/cost_save", //设置服务的成本

	PROPRE_BRAND_LS: "yy0/propre/brand_ls", //服务的品牌列表

	PROPRE_BRAND_SAVE: "yy0/propre/brand_save", //设置服务的品牌

	PROPRE_TAG_LS: "yy0/propre/tag_ls", //服务标签列表

	PROPRE_TAG_SAVE: "yy0/propre/tag_save", //服务标签修改

	PROPRE_TAG_DEL: "yy0/propre/tag_del", //服务标签删除

	PROPRE_BRAND_DEL: "yy0/propre/brand_del", //删除服务的成本

	PROPRE_CAT_LS: "yy0/propre/cat_ls", //服务分类列表

	PROPRE_CAT_SAVE: "yy0/propre/cat_save", //修改服务分类

	PROPRE_CAT_DEL: "yy0/propre/cat_del", //删除服务分类

	YY_GOODSINFO_GOODS_LIST: "yy0/goodsinfo/goods_list", //获取服务列表

	YY_GOODSINFO_GOODS_SAVE: "yy0/goodsinfo/gdls_save", //服务上下架

	YY_GOODSINFO_GOODS_DETAIL: "yy0/goodsinfo/goods_detail", //服务预览详情

	YY_GOODSINFO_EDIT_DETAIL: "yy0/goodsinfo/edit_goods", //服务编辑详情

	YY_GOODSINFO_ADD_DETAIL: "yy0/goodsinfo/add_goods", //服务新增详情

	YY_GOODSINFO_DEL_GOODS: 'yy0/goodsinfo/del_goods', //服务删除

	YY_GOODSINFO_SAVE_GOODS: "yy0/goodsinfo/save_goods", //服务新增

	YY_GOODSINFO_UPDATE_GOODS: "yy0/goodsinfo/update_goods", //服务编辑

	YY_GOODSINFO_GOODS_SELL: "yy0/goodsinfo/goods_sell", //历史销售

	YY_GOODSINFO_GOODS_SELL_MOUTH: "yy0/goodsinfo/goods_sell_mouth", //月度销售

	YY_GOODSINFO_CUSTOM_SELL: "yy0/goodsinfo/custom_sell", //客户销售

	YY_GOODSINFO_CUSTOM_SELL_CUSTOM: "yy0/goodsinfo/goods_sell_custom", //历史销售详情

	CUSTOM_MYPRO_LS: "custom/mypro_ls", //获取剩余服务列表

	YY_YUYUE_BOOK_LS: "yy0/yuyue/book_ls", //获取预约列表

	YY_YUYUE_BOOK_MYORI_LS: "yy0/yuyue/book_mypro_ls", //获取未预约列表

	YY_YUYUE_BOOK_DETAIL: "yy0/yuyue/book_detail", //获取预约详情

	YY_YUYUE_BOOK_STATUS_ACT: "yy0/yuyue/book_status_act", //预约按钮操作

	YY_YUYUE_BOOK_RECORD_CUSTOMER: "yy0/yuyue/book_record_customer", //预约记录列表

	YY_YUYUE_BOOK_WORKER_DUTY: "yy0/yuyue/book_worker_duty", //选择日期

	YY_YUYUE_BOOK_ADD: "yy0/yuyue/book_add", //提交预约单

	YY_YUYUE_DUTY_ADD_INFO: "yy0/yuyue/duty_add_info", //排班的时间数据

	YY_YUYUE_DUTY_SAVE: "yy0/yuyue/duty_save", //保存排班

	YY_YUYUE_MYPRO_EDIT_SAVE: "yy0/yuyue/mypro_edit_save", // 更改有效日期


	YY_YUYUE_BOOK_MYPRO_RECORD: "yy0/yuyue/book_mypro_record", // 服务列表详情

	YY_ORDER_ORDER_COUNT: "yy0/order/order_count", //修改价格

	YY_ORDER_ORDER_ADD: "yy0/order/order_add", //提交结算

	YY_ORDER_CART_SAVE: "yy0/order/cart_save", //操作开单数据

	YY_ORDER_GD_PRICE: "yy0/order/gd_price", //价格信息

	YY_ORDER_GD_ORDER_CHECKOUT: "yy0/order/order_checkout", //获取结算信息

	YY_YUYUE_BOOK_WORKER_LS: "yy0/yuyue/book_worker_ls", //获取服务人

	YY_YUYUE_BOOK_EDIT_INFO: "yy0/yuyue/book_edit_info", //获取预约单详情

	YY_YUYUE_BOOK_EDIT_SAVE: "yy0/yuyue/book_edit_save", // 编辑预约单

	YY_YUYUE_DUTY_EDIT_INFO: "yy0/yuyue/duty_edit_info", // 排班详情

	YY_ORDER_RETURN_CK: "yy0/order/order_return_ck", //单据-退货申请-审核

	YY_ORDER_ORDER_RETURN_INFO: "yy0/order/order_return_info", //协商记录

	YY_YUYUE_BOOK_ACT: "yy0/yuyue/book_act", // 预约操作

	CUSTOM_GRADE_LS: "custom/grade_ls", //获取等级列表
	COMPANY_GRADE_SAVES: "custom/grade_saves", // 设置等级

	/*******服务****END***/

	GOODSINFO_GOODS_SELL: "goodsinfo/goods_sell", //历史销售

	GOODSINFO_GOODS_SELL_MOUTH: "goodsinfo/goods_sell_mouth", //月度销售

	GOODSINFO_CUSTOM_SELL: "goodsinfo/custom_sell", //客户销售

	GOODSINFO_CUSTOM_SELL_CUSTOM: "goodsinfo/goods_sell_custom", //历史销售详情

	COMPANY_STAFF_LS: "company/staff_ls", // 服务人列表

	/*******报表****BEGIN***/

	REPORT_STORE_IN_OUT_DETAIL: "report/store_in_out_detail", //流水详情列表

	REPORT_GOODS_STORE_LOG_DETAIL: "report/goods_store_log_detail", //流水详情

	REPORT_COUNT_SHOP: "report/count_shop", //门店列表

	REPORT_COUNT_GOODS: "report/count_goods", //产品列表

	REPORT_BOOK_CUSTOMER: "report/book_customer", //预约列表

	REPORT_COUNT_CUSTOM: "report/count_custom", //预约列表

	REPORT_COUNT_STAFF: "report/count_staff", //成员列表

	REPORT_SELL_SHOP: "report/sell_shop", //门店详情列表

	REPORT_SELL_GOODS: "report/sell_goods", //产品详情列表

	REPORT_BOOK_CUSTOMER_LS: "report/book_customer_ls", //预约详情列表

	REPORT_SELL_CUSTOM: "report/sell_custom", //客户详情列表

	REPORT_SELL_STAFF: "report/sell_staff", //成员详情列表

	/*******报表****END***/


	/*******营销****BEGIN***/
	YX_PIN_EVENT_LS: "yx/pin/event_ls", //拼团优惠列表
	YX_PIN_EVENT_INFO: "yx/pin/event_info", //拼团优惠详情
	YX_PIN_EVENT_SAVE: "yx/pin/event_save", //拼团优惠保存
	YX_PIN_TUAN_LS: "yx/pin/tuan_ls", //拼团优惠详情列表

	YX_PIN_TUAN_PRDERS: "yx/pin/tuan_orders", //拼团优惠详情

	GOODSINFO_GOODS_SPEC: "goodsinfo/goods_spec", //产品规格详情

	GOODSINFO_GOODS_DETAIL: "goodsinfo/goods_detail", //产品详情

	/*******营销****END***/

	/*******同城商圈****BEGIN***/
	ASSQ_SQ_SELL_COUNT: 'assq/report/asmh_sq_sell_count', //报表首页

	ASSQ_SQ_SELL_DAY: 'assq/report/asmh_sq_sell_day', //某一天统计

	ASSQ_SQ_SELL_DAYDETAIL: 'assq/report/asmh_sq_sell_day_detail', //某一天统计明细

	ASSQ_COUNT_LS: 'assq/report/asmh_count_ls', //统计列表

	ASSQ_SELL_COUNT: 'assq/report/asmh_sell_count', //某一个人的统计

	ASSQ_COUNT_DETAIL: 'assq/report/asmh_count_detail', //某一个人的统计明细
	/*******同城商圈****END***/

	/*******云店设置****BEGIN***/

	YX_XS_EVENT_LS: 'yx/xs/event_ls', //限时抢购列表
	YX_XS_EVENT_INFO: 'yx/xs/event_info', //限时抢购详情 
	YX_XS_EVENT_SAVE: 'yx/xs/event_save', //限时抢购保存

	ASMH_ST2_GROUP_LS: 'asmh/st2/group_ls', //获取社群列表

	YX_TG_EVENT_LS: 'yx/tg/event_ls', //获取推广页

	COMPSET_LIN_ORTHER_LS: 'compset/lin_orther_ls', //获取其他

	COMPSET_YUNSHOPSET_INFO: 'compset/yunshopset_info', // 获取云店设置详情

	COMPSET_YUNSHOP_INFO: 'compset/yunshop_info', //云店信息详情

	COMPSET_YUNSHOP_EDIT: 'compset/yunshop_edit', //保存云店信息

	COMPSET_LINKER_LS: 'compset/linker_ls', // 获取云店设置内的详情列表

	COMPSET_LINKER_SAVE: 'compset/linker_save', // 修改云店设置内的详情列表

	COMPSET_LINKER_DEL: 'compset/linker_del', // 删除云店设置内的数据

	GDPRE_PRICE_LSR: 'gdpre/price_lsr', // 获取产品价格段

	COMPSET_SFEEYUN_LS: 'compset/sfeeyun_ls', // 获取产品价格段

	COMPSET_SFEEYUN_SAVE: 'compset/sfeeyun_save', // 获取产品价格段 

	COMPSET_SFEEYUN_DEL: 'compset/sfeeyun_del', // 获取产品价格段

	COMPSET_YUNSHOP_MOERDEL: 'compset/yunshop_moerdel', // 删除更多详情

	COMPSET_YUNSHOP_MOEREDIT: 'compset/yunshop_moeredit', // 编辑更多详情

	COMPSET_SFEEYUN_CHECK: 'compset/sfeeyun_check', // 保存运费设置

	COMPSET_YUNSHOPSET_SAVE: 'compset/yunshopset_save', //保存云店设置信息


	/*******云店设置****END***/

	/*******互动****BEGIN***/

	HD_TOOL_CAT_LS: "hd/tool/cat_ls", //活动导航列表

	HD_MS_HDONG_HD_INFO: 'hd/ms/hdong/hd_info', //回去活动详情

	HD_MS_HDONG_EVENT_LS: "hd/ms/hdong/event_ls", //活动-首页


	HD_COMMON_HD_LS: 'hd/common/hd_ls', //活动列表

	HD_MS_HDONG_HD_SAVE: 'hd/ms/hdong/hd_save', //活动保存

	DH_TOOL_LS: 'hd/tool/ls', //工具列表

	HD_COMMON_HD_COUNT: 'hd/common/hd_count', //活动统计

	HD_COMMON_HD_DEL: 'hd/common/hd_del', //活动删除

	HD_TOOL_USER_LS: 'hd/user/user_ls', //用户列表

	HD_TOOL_SET_BKUSER: 'hd/user/set_bkuser', //黑名单操作

	HD_ORDER_ORDER_LS: 'hd/order/order_ls', //订单/核销列表

	HD_ORDER_ORDER_ACT: 'hd/order/order_act', //单据操作

	HD_ORDER_ORDER_CLEAN: 'hd/order/order_clean', //重置

	HD_ORDER_ORDER_EXPORT: 'hd/order/order_export', //导出订单

	HD_COMMON_SET_COL: 'hd/common/set_col',//要列出的项

	HD_MS_HDONG_HD_COPY: 'hd/ms/hdong/hd_copy', //复制活动

	HD_USER_SET_HX: 'hd/user/set_hx', // 设置消核人员

	HD_MS_HDONG_HD_RELEASE: "hd/ms/hdong/hd_release", //活动-发布（当活动状态：status=1（未发布）时，可操作"发布"）

	HD_MS_HDONG_HD_REVIEW: "hd/ms/hdong/hd_review",//活动-预览
	/*******互动****END***/

	/*******财务****BEGIN***/
	CUSTOM_ABILL_LS2: "custom/abill_ls2", // 收款 付款 列表

	CUSTOM_ABILL_INFO: "custom/bill_info", // 收款  付款 详情
	/*******财务****END***/

	/*******营销****BEGIN***/
	YX_XSMS_EVENT_SAVE: "yx/xsms/event_save", // 限时秒杀-保存
	YX_XSMS_EVENT_INFO: "yx/xsms/event_info", // 限时秒杀-详情
	YX_XSMS_EVENT_LS: "yx/xsms/event_ls", // 限时秒杀-列表
	YX_PIN_MUSIC_LS: "yx/pin/music_ls", // 背景音乐-列表
	YX_XSMS_TIME_LS: "yx/xsms/time_ls", // 时间-列表
	/*******营销****END***/

	/*******卡项****BEGIN***/
	YY_CARD_SAVE: "yy0/card/save", // 编辑卡项
	YY_CARD_LIST: "yy0/card/list", // 卡项列表
	YY_CARD_INFO: "yy0/card/info", // 卡项详情
	YY_CARD_MYCARD_LS: "yy0/card/mycard_ls", // 客户卡项-列表

	/*******卡项****END***/

}